<template>
    <van-button type="primary" class="top-up-confirm" @click="state.show = true">确定</van-button>
    <SubmitOrder v-if="state.show" :isShow="state.show" @update:show="(ev)=> state.show = ev"></SubmitOrder>
</template>
    
<script setup>
import { reactive, getCurrentInstance, onMounted } from "vue"
import { getAuthorization, setAuthorization } from "@/utils/auth.js"

import SubmitOrder from "@/pages/home/components/payOrder/payOrderPup.vue"

import { onLoad } from '@dcloudio/uni-app'
const state = reactive({
    show: false,
    curIndex: false
})

onLoad((options) => {

})



</script>
    
<style lang="scss" scoped>

.top-up-confirm {
    width: calc(100% - 60rpx);
    margin: 10rpx 30rpx 30rpx 30rpx;
    font-size: 32rpx;
}
</style>
    